package com.justreading.netty;

import io.netty.util.NettyRuntime;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * @author LYJ
 * @Description
 * @date 2021 年 10 月 27 日 下午7:00
 */
public class Test {
    public static void main(String[] args) {
        System.out.println(NettyRuntime.availableProcessors());
        Pattern pattern = Pattern.compile("[1-9]\\d*");
        Matcher matcher = pattern.matcher("2s1");
        System.out.println("24w51".matches("[1-9]\\d*"));


    }
}
